package com.threadpool.pool.policy;

import com.threadpool.pool.CustomThreadPool;

/**
 * <p>
 * 拒绝策略接口
 * </p>
 *
 * @author 桌角的眼镜
 * @version 1.0
 * @since 2025/5/14 0:50
 */
public interface RejectPolicy<T> {
    void reject(T task, CustomThreadPool pool);
}
